/*
 *                    COPYRIGHT NOTICE
 *
 *           This code is copyright protected by Freedom Inc.
 *
 *              2001-2012 All Rights Are Reserved
 */
package com.freedom.oldsong.interceptor;

import org.springframework.aop.support.DefaultPointcutAdvisor;
import org.springframework.aop.support.annotation.AnnotationMatchingPointcut;

import com.freedom.oldsong.common.Pagination;
/**
 * @author steven.wang
 *
 */
public class PaginationAdvisor extends DefaultPointcutAdvisor {

	private static final long serialVersionUID = 1L;
	
	/**
	 * @param finderInterceptor
	 */
	public PaginationAdvisor(OldsongDaoInterceptor finderInterceptor) {
		super(new AnnotationMatchingPointcut(null, Pagination.class), finderInterceptor);
	}

}
